<?php
/**
 * Created by PhpStorm.
 * User: eric
 * Date: 10/10/14
 * Time: 2:48 PM
 */

//http://php.net/manual/en/function.date.php
class DateTimeFormat
{
    const DAY_01_to_31 = "d";
    const DAY_Mon_to_Sun = "D";
    const DAY_1_to_31 = "j";
    const DAY_Monday_to_Sunday = "l";
    const DAY_1_to_7 = "N";
    const DAY_0_to_365 = "z";
    const WEEK_of_the_year = "W";
    const MONTH_January_to_December = "F";
    const MONTH_01_to_12 = "m";
    const MONTH_Jan_to_Dec = "M";
    const MONTH_1_to_12 = "n";
    const MONTH_number_of_days = "t";
    const YEAR_is_leap_year = "L";
    const YEAR_19xx_to_2xxx = "Y";
    const YEAR_9x_to_2x = "y";
    const HOUR_01_to_12 = "h";
    const HOUR_00_to_23 = "H";
    const MINUTE = "i";
    const SECOND = "s";


    const sql_datetime = "Y-m-d H:i:s";
    const sql_date = "Y-m-d";
    const sql_time = "H:i:s";
}